import {createApp} from 'vue'
import {createYkUI} from 'yklib'
import App from './App.vue'
import router from './router'
import {createPinia} from 'pinia'
import mitt from 'mitt'
import './root.css'
import 'yklib/dist/yklib.css'

const app = createApp(App)
app.provide('mitt', mitt())
app.use(router)
app.use(createYkUI(router))
app.use(createPinia())

app.mount('#app')


